
require('../config/mongodb')()

var resumeModel = require('../models/resumeModel')

var fs = require('fs')

var str = fs.readFileSync('../db/resume.json')

var arr = JSON.parse(str)

arr.forEach(element => {
    new resumeModel(element).save(function(err,item){

        console.log(item);
    });
});
